<el-dialog title="编辑申请内容" id="edit" v-model="editFormDialog" >
<!-- <el-form :model="form"> -->
<el-form ref="editForm" :rules="editRules" :model="editForm" :label-width="dialogLabelWidth">
    

    <el-tabs  type="card" >
      <el-tab-pane label="采购明细" name="first">
        <el-row>
          <el-col :span="12">
            <el-form-item label="申请事由" prop="reason">
              <el-input v-model="editForm.reason"   auto-complete="off"></el-input>
            </el-form-item>
          </el-col>
          <el-col :span="12">
              <el-form-item prop="expected_date" label="期望交付日期">
                  <el-date-picker  v-model="editForm.expected_date" placeholder="请选择日期"   >
                  </el-date-picker>
                </el-form-item>
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="12">
            <el-form-item label="名称" prop="name">
              <el-input v-model="editForm.name"   auto-complete="off"></el-input>
            </el-form-item>
          </el-col>
           <el-col :span="12">
            <el-form-item label="规格" prop="specification">
              <el-input v-model="editForm.specification"   auto-complete="off"></el-input>
            </el-form-item>
          </el-col>
        </el-row>
         <el-row>
          <el-col :span="12">
            <el-form-item label="型号" prop="model_num">
              <el-input v-model="editForm.model_num"   auto-complete="off"></el-input>
            </el-form-item>
          </el-col>
           <el-col :span="12">
            <el-form-item label="颜色" prop="color">
              <el-input v-model="editForm.color"   auto-complete="off"></el-input>
            </el-form-item>
          </el-col>
        </el-row>
         <el-row>
          <el-col :span="12">
            <el-form-item label="数量" prop="number">
              <el-input v-model="editForm.number"   auto-complete="off"></el-input>
            </el-form-item>
          </el-col>
           <el-col :span="12">
            <el-form-item label="单位" prop="unit">
              <el-input v-model="editForm.unit"   auto-complete="off"></el-input>
            </el-form-item>
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="12">
            <el-form-item label="单价(元)" prop="unit_price">
              <el-input v-model="editForm.unit_price"   auto-complete="off"></el-input>
            </el-form-item>
          </el-col>
           <el-col :span="12">
            <el-form-item label="总金额(元)" prop="total_amount">
              <el-input v-model="editForm.total_amount"   auto-complete="off"></el-input>
            </el-form-item>
          </el-col>
        </el-row>
        <el-row>
          <el-col :span="12">
            <el-form-item label="支付方式" prop ="payment_method">
              <el-select v-model="editForm.payment_method">
                <el-option v-for="pay in paymentMethodType" :label="pay.name" :value="pay.id"></el-option>
              </el-select>
            </el-form-item>
          </el-col>
           <el-col :span="12">
            <el-form-item label="申请类别" prop ="application_type">
              <el-select v-model="editForm.application_type">
                <el-option v-for="at in applicationTypeType" :label="at.name" :value="at.id"></el-option>
              </el-select>
            </el-form-item>
          </el-col>
        </el-row>

        <el-form-item label="备注" prop="remark" >
          <el-input
          v-model="editForm.remark"
          type="textarea"
          :autosize="{ minRows: 2, maxRows: 4}"
          placeholder="请输入内容">
        </el-input>
        </el-form-item>
      </el-tab-pane>
    </el-tabs>


  
    
  </el-form>
  <div slot="footer" class="dialog-footer">
   <include file="Common:_edit" />
  </div>
</el-dialog>